import request from "@/utils/request"
const BASE_URL = process.env.VUE_APP_BASE_URL
/**
 * 列表
 * @param {*} data
 */
export function systemRoleQueryProjectRoleListAPI(data) {
	return request({
		url: BASE_URL + "adminRole/queryProjectRoleList",
		method: "post",
		data: data
	})
}

/**
 * 设置
 * @param {*} data
 */
export function systemRoleSetWorkRoleAPI(data) {
	return request({
		url: BASE_URL + "adminRole/setWorkRole",
		method: "post",
		headers: {
			"Content-Type": "application/json;charset=UTF-8"
		},
		data: data
	})
}

/**
 * 删除项目角色
 */
export function systemRoleDeleteWorkRoleAPI(data) {
	return request({
		url: BASE_URL + "adminRole/deleteWorkRole",
		method: "post",
		data: data
	})
}
